<?php

/* @var $this \yii\web\View */
/* @var $content string */

use yii\helpers\Html;
use app\assets\AppAsset;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <!--bootstrap样式-->
    <?php $this->head() ?>
    <style type="text/css">
    html,body{
        margin:0px;
        height:100%;
    }

    </style>
    <link rel="stylesheet" type="text/css" href="css/nurse.system.css">
    <script src="bootstrap/js/jquery-2.2.0.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>  

    <script type="text/javascript">
        $(document).ready(function(){
            body = $(window).height();
            nav = $('#nav').height();  
            $('#left-bar').height(body-nav);
               
        });
    </script>
</head>
<body >
<?php $this->beginBody() ?>

    <div id="warp">
        <!--导航栏-->
        <div class="nav" id='nav'>
            <!--左边-->
            <div class="left" style="float: left">
                <img src="11" class="brand" style="margin:5px">
            </div>
            <!--右边-->
            <div class="right" style="float: right;">
                <a href="#" style="text-decoration:none;">
                <div style="display: table;margin-right:10px ">
                <div style="display: table-cell;">
                <div class="imgtest" >
                <figure ><div >
                <img  />
                </div> </figure>
                </div>
                </div>
                <div style="font-size: 13px;color:#555;vertical-align:middle; display: table-cell;">傻逼护士</div>
                </div>
              </a>
            </div>
        </div>
        <!--左边栏目-->
        <div class="left-bar"  id = "left-bar">
            
        </div>
          <button id="22">11</button>
        <?= $content ?>
        
    </div>

<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
